<?php

namespace app\common\validate;

use app\common\validate\Base;

/**
 *友链validate
 */
class Link extends Base
{
    protected $rule = [
        'link_name' => 'require',
        'link_url' => 'require',
        'sort' => 'require|number|between:1,99'

    ];

    protected $message = [
        'link_name' => '填写友链名称',
        'link_url' => '填写友链Url地址',
        'sort' => '排序应为1-99间的整数'

    ];


}